package com.qiu.usercenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiu.usercenter.model.domain.Question;
import com.qiu.usercenter.model.domain.User;

import java.util.List;


/**
 * @author QIU
 * @description 针对表【question(题目)】的数据库操作Service
 * @createDate 2025-03-06 02:05:50
 */
public interface QuestionService extends IService<Question> {

    /**
     * 获取生成问题
     *
     * @param stage           年级
     * @param count_direction 题目数量
     * @param direction       什么类型的题
     * @return boolean
     */
    boolean getQuestion(String ChatId, String stage, int count_direction, String direction);

    List<Question> getAllQuestion(int userId);
}
